set(LIBHELLO_SRC hello.cpp)
set(LIBNAME hello)
add_library(${LIBNAME} SHARED ${LIBHELLO_SRC})
SET_TARGET_PROPERTIES(${LIBNAME} PROPERTIES VERSION 1.2 SOVERSION 1)


add_library(hello_static STATIC ${LIBHELLO_SRC})
SET_TARGET_PROPERTIES(hello_static PROPERTIES OUTPUT_NAME ${LIBNAME})
ADD_LIBRARY(hello_static_another STATIC ${LIBHELLO_SRC})


install(TARGETS ${LIBNAME} ${LIBNAMESTATIC}
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib)

install(FILES hello.hpp DESTINATION include/hello)
